<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
String headPath = request.getContextPath();
String headerBasePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+headPath+"/";

%>

<div>
	<div>
		<a href="<%=headerBasePath%>"><img src="<%=headerBasePath%>resources/imgs/logo.png"></a>
	</div>
	<div>
		<ul>
			<li><a href="<%=headerBasePath%>login">登录</a></li>
			<li><a href="<%=headerBasePath%>register">注册</a></li>
			<li><a href="<%=headerBasePath%>admin/user">用户列表</a></li>
			<li><a href="<%=headerBasePath%>admin/question">试题中心</a></li>
		</ul>
	</div>
</div>